home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 API Bible / Windows 95 API Bible 3 Disc Set.iso / Win32 API Bible Book 1 of 3.iso / chapte30 / mydll.h < prev    next >
C/C++ Source or Header  |  1996-01-02  |  442b  |  15 lines

  1.  
  2. // Microsoft C/C++ specific import/export specifier.
  3. // These take the place of the EXPORTS and IMPORTS
  4. // statements in the application and DLL .DEF files.
  5. //..................................................
  6. #ifdef _DLL
  7. #define DllAccess __declspec( dllexport )
  8. #else
  9. #define DllAccess __declspec( dllimport )
  10. #endif
  11.  
  12. DllAccess int AddNumbers( int a, int b );
  13. DllAccess int GetProcessCount();
  14. DllAccess int GetThreadCount();
  15.